<hibernate-mapping namespace="NewsDemo.Data" assembly="NewsDemo" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Recentness" table="recentness">
    <id name="Id" column="id" type="System.Int32">
      <generator class="identity" />
    </id>
    <property name="Modified" column="modified" type="System.DateTime" not-null="true" />
    <property name="Created" column="created" type="System.DateTime" not-null="true" />
    <property name="Deleted" column="deleted" type="System.Boolean" not-null="false" />
    <property name="Status" column="status" type="System.Int32" not-null="false" />
    <property name="Title" column="title" type="System.String" not-null="false" length="255" />
    <property name="Text" column="text" type="System.String" not-null="true" />
    <property name="Source" column="source" type="System.String" not-null="false" length="255" />
    <many-to-one name="CreatedBy" column="created_by" class="Editor" cascade="none" />
  </class>
</hibernate-mapping>